package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupSendTaskDeviceConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupSendTaskDeviceConfigMapper {
    GroupSendTaskDeviceConfig getByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int addGroupSendTaskDeviceConfig(GroupSendTaskDeviceConfig groupSendTaskDeviceConfig);

    GroupSendTaskDeviceConfig getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(GroupSendTaskDeviceConfig groupSendTaskDeviceConfig);

}
